import 'package:flutter/material.dart';
import 'package:get/get.dart';

import 'home_routes.dart';
import 'type_routes.dart';
import 'pass_routes.dart';
import 'lock_routes.dart';

class AppPages {
  AppPages._();

  // app首页
  static const initial = '/home';

  // app路由
  static final routes = [
    ...HomeRoutes.routes,
    ...TypeRoutes.routes,
		...PassRoutes.routes,
		...LockRoutes.routes,
  ];

  // 404页面
  static final unknownRoute = GetPage(
    name: '/notfound',
    page: () => Scaffold(
      appBar: AppBar(title: const Text('404')),
      body: const Center(child: Text('Page Not Found')),
    ),
  );
}
